﻿// <copyright file="ISBN.cs" company="Microsoft Corporation">
// Copyright (c) 2008 All Right Reserved
// </copyright>
// <author>Michael S. Scherotter</author>
// <email>mischero@microsoft.com</email>
// <date>2009-03-03</date>
// <summary>ISBN Class</summary>

namespace NYTimes.Data
{
    using System;

    /// <summary>
    /// A book ISBN 
    /// </summary>
    public class ISBN
    {
        /// <summary>
        /// Gets or sets the ISBN 13 code
        /// </summary>
        public string ISBN13 { get; set; }

        /// <summary>
        /// Gets or sets the ISBN 10 code
        /// </summary>
        public string ISBN10 { get; set; }

        /// <summary>
        /// Gets the properties and values
        /// </summary>
        /// <returns>a string with named value pairs</returns>
        public override string ToString()
        {
            return Synergist.Utility.GetProperties(this);
        }
    }
}
